package com.fjb.common.plugins;

import java.util.List;

/**
 * @Description:树形列表 zTree
 * @author hemiao
 * @time:2019年7月20日 下午10:40:05
 */
public class ZTree {
	
	private Integer id;
	
	private Integer pId;
	
	private String name;
	
	private Boolean open = false;
	
	private Boolean checked = false;
	
	private Integer level;
	
	private Integer type;
	
	private String code;
	
	/**
	 * 图标
	 */
	private String icon;
	
	/**
	 * 子列表
	 */
	private List<ZTree> childList;
	
	/**
	 * 没有孩子
	 */
	private Boolean noChild = true;
	
	private Integer sort;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getpId() {
		return pId;
	}

	public void setpId(Integer pId) {
		this.pId = pId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Boolean getOpen() {
		return open;
	}

	public void setOpen(Boolean open) {
		this.open = open;
	}

	public Boolean getChecked() {
		return checked;
	}

	public void setChecked(Boolean checked) {
		this.checked = checked;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public List<ZTree> getChildList() {
		return childList;
	}

	public void setChildList(List<ZTree> childList) {
		this.childList = childList;
	}

	public Boolean getNoChild() {
		return noChild;
	}

	public void setNoChild(Boolean noChild) {
		this.noChild = noChild;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}
	
}
